public class Main {
    public static void main(String[] args){
        Adapter adapter=new Adapter(new AdapteeAC220V());
        System.out.println("适配之后电压为："+adapter.outPut5V()+"V");
        System.out.println("适配之后电压为："+adapter.outPut12V()+"V");
        System.out.println("适配之后电压为："+adapter.outPut24V()+"V");
    }
}
